package com.xh.bussiness.resource.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xh.core.bean.BaseDto;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/*
 * @Author daiwei
 * @Description
 * @Date 2020/2/22 22:47
 **/
@Data
public class ResourceListDetailDto extends BaseDto {

    private String resourceListDetailId;

    private String resourceListId;

    private String resourceId;

    private Integer orderNo;

    private String orgId;

    private Integer catelogId;

    private String catelogPath;

    private String catelogName;

    private String name;

    private String oriPath;

    private String ext;

    private String totalTime;

    private Long size;

    private Long bitrate;

    private String resolution;

    private String oriFilename;

    private String convertedPath;

    private String coverLogo;

    private Integer convertStatus;

    private Integer convertTryTimes;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    private Date convertStartTime;

    private Long convertDuration;

    private Long viewCount;

    private String password;

    private Boolean needPassword;

}
